package com.ordos.recruit.module.user.constant;

public class Conf {

    /**
     * 用户使用状态0-使用, 1-禁用
     */
    public static final String USER_USED_STATUS_0 = "0";
    public static final String USER_USED_STATUS_1 = "1";

    /**
     * 用户管理员状态, 1-是管理员, 0或其他-是普通用户
     */
    public static final String USER_IS_ADMIN_STATUS_0 = "0";
    public static final String USER_IS_ADMIN_STATUS_1 = "1";

    /**
     * sso sessionid, between browser and sso-server (web + token client)
     */
    public static final String SSO_SESSIONID = "Access-Token";


    /**
     * redirect url (web client)
     */
    public static final String REDIRECT_URL = "redirect_url";

    /**
     * sso user, request attribute (web client)
     */
    public static final String SSO_USER = "sso_user";


    /**
     * sso server address (web + token client)
     */
    public static final String SSO_SERVER = "sso_server";

    /**
     * login url, server relative path (web client)
     */
    public static final String SSO_LOGIN = "/login";
    /**
     * logout url, server relative path (web client)
     */
    public static final String SSO_LOGOUT = "/logout";


    /**
     * logout path, client relatice path
     */
    public static final String SSO_LOGOUT_PATH = "SSO_LOGOUT_PATH";

    /**
     * excluded paths, client relatice path, include path can be set by "filter-mapping"
     */
    public static final String SSO_EXCLUDED_PATHS = "SSO_EXCLUDED_PATHS";

    public static final String SSO_AUTH_MENU_PATH = "/menu";

    public static final String SSO_AUTH_MENU = "sso_auth_menu";

}
